export const useAssetsImagesPath = () => {
  const files: Record<string, any> = import.meta.glob("@/assets/images/*", {
    eager: true
  })
  const newFiles = new Map()
  for (const key in files) {
    const fileName = key.substring(
      key.lastIndexOf("/") + 1,
      key.lastIndexOf(".")
    )
    newFiles.set(fileName, files[key].default)
  }
  return newFiles
}
